You are here: Image Segmentation > ROI Operations > Applying Morphological Operators

Applying Morphological Operations

The morphological operations of dilation, erosion, opening, closing, and smooth can be applied to refine regions of interest by growing or shrinking labeled regions. The precise effect of these operations is determined by the selected Structuring Element. If the Use range option is selected, all morphological operations will be limited to the available range (see Thresholding).

Morphological operations box

Morphological operations

Available morphological operations
  Description

Dilate

Expands a region of interest using the selected structuring element.

Erode

Shrinks a region of interest using the selected structuring element.

Open

Can be defined as an erosion followed by a dilation using the same structuring element for both operations. In general, opening is less destructive than erosion. The effect of the operator is to preserve foreground regions that have a similar shape to the structuring element, or that can completely contain the structuring element, while eliminating other foreground pixels.

Close

Can be defined simply as a dilation followed by an erosion using the same structuring element for both operations. The effect of the operator is to preserve background regions that have a similar shape to the structuring element, or that can completely contain the structuring element, while eliminating other background pixels.

Smooth

Smoothes a region of interest using the selected structuring element. Smoothing can be required In some cases, such as after creating a threshold segmentation, to remove noise from the surface of an object. An example of smoothing is show in the following screen captures.

Original ROI (left) and smoothed ROI (right)

 

Dragonfly Help Live Version